package com.simple.datax.flow.message;
/** 
 * @Title: BaseEcMessage.java 
 * @Package com.simple.datax.flow.model 
 * @Description: TODO(报文对象基类) 
 * @author tonney 
 * @date 2013-1-9 下午02:29:15 
 * @version V1.0 
 */
public abstract class BaseEcMessage implements Cloneable{
	private String orgXmlCode = null;  //原始报文信息

	private String orgSendId = null;   //原始报文发送者ID
	
	private String orgSendAddr = "";   //原始报文发送者地址
	
	private boolean validActivityNo = true;  //活动校验标记
	
	public BaseEcMessage clone() {
		BaseEcMessage obj = null;
		try {
			obj = (BaseEcMessage) super.clone();
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
		}
		return obj;
	}
	
	public boolean isValidActivityNo() {
		return validActivityNo;
	}

	public void setValidActivityNo(boolean validActivityNo) {
		this.validActivityNo = validActivityNo;
	}

	public String getOrgSendId() {
		return orgSendId;
	}

	public void setOrgSendId(String orgSendId) {
		this.orgSendId = orgSendId;
	}

	public String getOrgSendAddr() {
		return orgSendAddr;
	}

	public void setOrgSendAddr(String orgSendAddr) {
		this.orgSendAddr = orgSendAddr;
	}

	public String getOrgXmlCode() {
		return orgXmlCode;
	}

	public void setOrgXmlCode(String orgXmlCode) {
		this.orgXmlCode = orgXmlCode;
	}
}
